package com.xinghai.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xinghai.common.annotation.Excel;
import com.xinghai.common.core.domain.BaseEntity;

/**
 * 订单车辆更换记录对象 xh_vehicle_order_car_his
 * 
 * @author xinghai
 * @date 2024-07-23
 */
public class XhVehicleOrderCarHis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用车任务 */
    @Excel(name = "用车任务")
    private Long vehicleId;

    /** 车辆 */
    @Excel(name = "车辆")
    private Long carId;

    /** 司机信息;字符串存储 */
    @Excel(name = "司机信息;字符串存储")
    private String driverInfo;

    /** 删除标识;删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 接单时临时新增司机，对象数组 */
    private String appendDriverInfo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setDriverInfo(String driverInfo) 
    {
        this.driverInfo = driverInfo;
    }

    public String getDriverInfo() 
    {
        return driverInfo;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getAppendDriverInfo() {
        return appendDriverInfo;
    }

    public void setAppendDriverInfo(String appendDriverInfo) {
        this.appendDriverInfo = appendDriverInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vehicleId", getVehicleId())
            .append("carId", getCarId())
            .append("driverInfo", getDriverInfo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("appendDriverInfo", getAppendDriverInfo())
            .toString();
    }
}
